#include "wx/wxprec.h"

#include "wx/app.h"
#include "aui/aui.h"


class MainApp : public wxApp
{
public:
    bool OnInit();
};

DECLARE_APP(MainApp)
IMPLEMENT_APP(MainApp)

bool MainApp::OnInit()
{
    if ( !wxApp::OnInit() )
        return false;

    wxFrame* frame = new MainFrame(NULL,
                                 wxID_ANY,
                                 wxT("Test Application"),
                                 wxDefaultPosition,
                                 wxSize(800, 600));
    frame->Maximize(true);
    frame->Show();

    return true;
}
